package com.mike.employment.po;

import com.mike.employment.base.BaseEntity;

import jakarta.persistence.Column;
import jakarta.persistence.Entity;
import jakarta.persistence.JoinColumn;
import jakarta.persistence.ManyToOne;
import lombok.Getter;
import lombok.Setter;

@Getter
@Setter
@Entity
public class Resume extends BaseEntity{
	
	@Column(nullable = false)
	private String name;  //简历标题
	private String desp;  //建立描述
	@Column(nullable = false)
	private String attach; // 简历附件
	@ManyToOne(targetEntity=Account.class)
	@JoinColumn(name="account_id",referencedColumnName="id")
	private Account creater;  // 创建人
	
	
}
